package com.talkweb.platform.commonapi.base.entity;

import java.io.Serializable;
import java.util.Date;

public class TokenInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8955585283361442187L;

	/**
	 * 用户Id
	 */
	private String userId;
	
	/** 姓名 **/
	private String userName;
	
	/** 自定义登录账号。默认值与身份证号码一致 **/
	private String userLoginName;

	/** 姓别 **/
	private String userSex;

	/** 身份证号码 **/
	private String userIdCode;

	/** 电子邮箱地址 **/
	private String userEmail;

	/** 手机号码 **/
	private String userMobile;
	
	/** 从哪个客户端登录过来**/
	private String clientId;
	
	/**拼音名**/
	private String userSpellName;
	
	/**出生日期**/
	private String userBirthday;
	
	/**头像**/
	private String userPhoto;
	
	/**备注**/
	private String userNotes;

	
	/**
	 * 访问token
	 */
	private String access_token;
	
	/**
	 * token 是否有效   true -有效  false - 无效
	 */
	private boolean isTokenValid;
	
	private String expires_in;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public boolean isTokenValid() {
		return isTokenValid;
	}

	public void setTokenValid(boolean isTokenValid) {
		this.isTokenValid = isTokenValid;
	}

	public String getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(String expires_in) {
		this.expires_in = expires_in;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserLoginName() {
		return userLoginName;
	}

	public void setUserLoginName(String userLoginName) {
		this.userLoginName = userLoginName;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserIdCode() {
		return userIdCode;
	}

	public void setUserIdCode(String userIdCode) {
		this.userIdCode = userIdCode;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getUserSpellName() {
		return userSpellName;
	}

	public void setUserSpellName(String userSpellName) {
		this.userSpellName = userSpellName;
	}

	public String getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(String userBirthday) {
		this.userBirthday = userBirthday;
	}

	public String getUserPhoto() {
		return userPhoto;
	}

	public void setUserPhoto(String userPhoto) {
		this.userPhoto = userPhoto;
	}

	public String getUserNotes() {
		return userNotes;
	}

	public void setUserNotes(String userNotes) {
		this.userNotes = userNotes;
	}
	
}
